import upload from '@/utils/upload'
import request from '@/utils/request'

//首页轮播图
export function getIndexBannerList({ }) {
    return request({
        url: '/banner/list',
        method: 'get',
    })
}
//通过类型获取轮播图
export function getBannerListByType({ type }) {
    return request({
        url: '/banner/getBannerByType?bannerType=' + type,
        method: 'get',
    })
}
//关于我们图片
export function getAboutMeList({type,current,size }) {
    return request({
        url: '/pic/list?type=' + type+'&current='+current+'&size='+size,
        method: 'get',
    })
}
//获取图片详情
export function getPicDetail(id) {
    return request({
        url: '/pic/info?id=' + id,
        method: 'get',
    })
}